#!/usr/bin/env python
# -*- coding:utf-8 -*-

#用户输入任意字符，查看该字符的全部数字并打印出来
if __name__ == "__main__":
    text = input("请输入文本：")
    index = 0
    val_len = len(text)
    while True:
        if index == val_len - 1:
            break
        else:
            num = text[index]
            value = num.isdigit()
            index += 1
            count = 0
            if value:
                count += 0
                print(num)
            print(count)
            else:
                continue

